package com.api.network;
public class BeanImpl implements BeanInterface{

    private static BeanImpl mImpl;

    public static BeanImpl getInstance(){
        if (null == mImpl){
            synchronized (BeanImpl.class){
                if (mImpl == null){
                    mImpl = new BeanImpl();
                }
            }
        }
        return mImpl;
    }
//example function
//    @Override
//    public Observable<JsonObjBase<User>> login(String email,String password) {
//        return RetrofitManager.getInstance().getRetrofit().create(ApiService.class)
//                .loginByCode(new SignInModel(email,password))
//                .subscribeOn(Schedulers.computation())
//                .observeOn(AndroidSchedulers.mainThread());
//    }

}
